package com.linkhub.oms.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 供应商表
 * </p>
 *
 * @author echo
 * @since 2024-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_supplier")
@ApiModel(value="SupplierEntity对象", description="供应商表")
public class SupplierEntity implements Serializable {


    @ApiModelProperty(value = "主键")
    @TableId(value = "Fid", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    @TableField("Fuser_id")
    private String userId;

    @ApiModelProperty(value = "系统供应商id")
    @TableField("Fsys_supplier_id")
    private String sysSupplierId;

    @ApiModelProperty(value = "供应商名称")
    @TableField("Fsupplier_name")
    private String supplierName;

    @ApiModelProperty(value = "联系人姓名")
    @TableField("Fcontact_name")
    private String contactName;

    @ApiModelProperty(value = "联系人电话")
    @TableField("Fcontact_phone")
    private String contactPhone;

    @ApiModelProperty(value = "联系人email")
    @TableField("Fcontact_email")
    private String contactEmail;

    @ApiModelProperty(value = "地址")
    @TableField("Faddress")
    private String address;

    @ApiModelProperty(value = "创建时间")
    @TableField("Fcreated_time")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    @TableField("Fupdate_time")
    private LocalDateTime updateTime;


}
